﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Runda.CMS.Dal;
using System.Data;
using Runda.CMS.Common.Entity;
using Runda.CMS.Common.Utility;
using Runda.CMS.Common.Log;
using log4net;
using System.Transactions;

namespace Runda.CMS.Bll
{
    public partial class WsmInstrumentRecordBll:BllBase
    {
        public DataTable GetInstrumentRecord(string beginDT,string endDT,string WhereClause, string OrderBy, int PageSize, int PageIndex, out int RecordCount) {
            return new WsmInstrumentRecordDal().GetInstrumentRecord(beginDT, endDT,WhereClause, OrderBy, PageSize, PageIndex, out RecordCount);
        }

        public DataTable GetInstrumentRecordByConfirmParms(string SerialNum, Guid InstrumentID, Guid CustomerID)
        {
            return new WsmInstrumentRecordDal().GetInstrumentRecordByConfirmParms(SerialNum, InstrumentID, CustomerID);
        }

        public List<WsmAccessoryInfoEntity> GetAccessoryEntities(string WhereClause)
        {
            WsmAccessoryInfoDal dal = new WsmAccessoryInfoDal();
            return dal.GetAccessoryEntities(WhereClause);
        }
    }
}
